Engine control and catalyst monitoring based on estimated catalyst gain

ABSTRACT

A system and method for controlling an internal combustion engine determine a catalyst gain based on an exhaust gas sensor positioned upstream relative to a catalyst and at least one exhaust gas sensor positioned downstream relative to at least a portion of the catalyst and use the gain to determine the condition or performance of the catalyst. The gain may be determined by modeling the catalyst as an integrator with an unknown gain and estimating the gain using a polynomial approximation. The gain is compared to an expected value or threshold associated with current operating conditions, such as catalyst temperature and/or mass air flow.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is related to commonly owned, concurrently filed, and copending U.S. patent applications Ser. No. 10/454,059 titled Fuel/Air Ratio Feedback Control With Catalyst Gain Estimation for an Internal Combustion Engine and Ser. No. 10/454,329 titled Engine Control and Catalyst Monitoring with Downstream Exhaust Gas Sensors, the disclosures of which are hereby incorporated by reference in their entirety.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a system and method for controlling an internal combustion engine.

2. Background Art

Internal combustion engines often employ advanced control strategies and after treatment systems to reduce tailpipe emissions. Conventional closed-loop feedback control strategies have been used to control the fuel/air ratio of the engine to balance engine performance, fuel economy, and emissions. When using an after treatment system that includes currently available exhaust gas catalysts, appropriate control of the engine fuel/air ratio is desired to manage the conversion efficiency of the catalyst for effective exhaust gas treatment. Feedback may be provided by one or more exhaust gas oxygen sensors that provide an indication of the current relative or absolute fuel/air ratio to the engine controller, which adjusts the commanded fuel/air ratio accordingly.

Robust management of catalyst conversion efficiency via fuel/air ratio control is complicated by the catalyst dynamics, which change with air flow rate, catalyst temperature, and catalyst age, for example. The catalyst dynamics are also significantly nonlinear, particularly with a new catalyst. Various engine and vehicle operating conditions, such as idling with a hot catalyst, also present challenges for the engine control system due to the extremely slow dynamics under these conditions.

To effectively control emissions while providing desired performance and fuel economy, the present inventors have recognized that the engine controller may incorporate a robust catalyst model that is relatively simple but accurately represents the catalyst operating dynamics under a broad range of engine and vehicle operating conditions. As such, the catalyst model can be used to control the engine and monitor the condition of the catalyst under various operating conditions that may change over time.

SUMMARY OF THE INVENTION

The present invention provides a system and method for monitoring and controlling operation of an internal combustion engine based on an estimated catalyst gain determined based on an upstream exhaust gas sensor and one or more downstream exhaust gas sensors. The gain may be determined by any of a variety of estimation or approximation methods and is correlated to catalyst condition or health by eliminating known parameters that cause the gain to change.

In one embodiment, a catalyst gain determined using an upstream exhaust gas sensor and a downstream exhaust gas sensor positioned after a fast light-off catalyst is compared to an associated threshold corresponding to a current engine or vehicle operating parameter, such as the catalyst temperature. If the catalyst gain exceeds an associated threshold, appropriate action may be taken, such as modifying the air/fuel ratio control and/or providing diagnostic information to the operator or service personnel. A catalyst gain based on the upstream sensor and a second downstream sensor positioned downstream relative to an additional portion of the catalyst or downstream of an additional catalyst can also be used to monitor the condition or conversion efficiency of the catalyst system.

In one embodiment, the first exhaust gas sensor is a sensor that provides a signal proportional to the oxygen content of the feedgas, such as a universal exhaust gas oxygen sensor (UEGO), and is positioned upstream relative to the catalyst(s). The second exhaust gas sensor and the optional third exhaust gas sensor provide an indication of a fuel/air ratio relative to stoichiometric, i.e rich or lean, such as a heated exhaust gas oxygen sensor (HEGO). The second exhaust gas sensor is positioned downstream relative to the first sensor and at least a first portion of the catalyst depending on the particular application.

The present invention provides a number of advantages. For example, the present invention provides a robust engine controller that monitors and adapts to changing catalyst dynamics on-line. The invention allows use of a relatively simple catalyst model that sufficiently captures the catalyst behavior to provide on-line calculation of the catalyst gain for real-time updates in the engine controller. Catalyst gain information determined at multiple points corresponding to various operating conditions provides results that are robust against noise factors. The catalyst gain may also be used to determine a corresponding oxygen storage capacity of the catalyst for OBDII monitoring. The robust control and management of catalyst conversion efficiency afforded by the present invention may allow reduction of the catalyst volume with corresponding savings in cost and weight.

The above advantages and other advantages, objects, and features of the present invention will be readily apparent from the following detailed description of the preferred embodiments when taken in connection with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a representative embodiment of a system or method for controlling an internal combustion engine according to the present invention;

FIG. 2 is a block diagram illustrating inner and outer control loops for a representative engine control strategy according to one embodiment of the present invention;

FIG. 3 is a block diagram illustrating a modified self-oscillating adaptive system (SOAS) for use in controlling an internal combustion engine according to one embodiment of the present invention;

FIG. 4 is a graph of an adaptive gain factor as a function of an estimated catalyst gain that may be implemented as a look-up table for use in controlling an internal combustion engine according to one embodiment of the present invention;

FIG. 5 is a block diagram illustrating an alternative embodiment for an engine controller having an additional downstream exhaust gas oxygen sensor used for engine control and/or diagnostics according to one embodiment of the present invention;

FIG. 6 is a graph of catalyst oxygen storage capacity as a function of catalyst temperature for use in monitoring catalyst performance according to one embodiment of the present invention;

FIG. 7 is a graph of catalyst gain as a function of catalyst temperature for use in monitoring catalyst performance according to one embodiment of the present invention; and

FIG. 8 is a flow chart illustrating operation of a system or method for controlling an internal combustion engine according to one embodiment of the present invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT(S)

The present invention relates to a control strategy for controlling and monitoring operation of an internal combustion engine to effectively manage catalyst conversion efficiency under various engine, vehicle, and catalyst operating conditions. As will be appreciated by those of ordinary skill in the art, the various controllers referred to in describing the present invention are preferably implemented by software, code, or instructions executed by a microprocessor based engine, vehicle, or powertrain controller.

Embodiments of the invention use an inner feedback control loop for fuel/air ratio control and an outer feedback control loop that provides a fuel/air ratio reference value to the inner feedback control loop. The outer loop includes an adaptive controller that adapts to the estimated oxygen storage capacity of the catalyst, exerting more control effort while the catalyst exhibits a large degree of oxygen storage, while reducing control effort under higher engine loads or after the catalyst has aged significantly and exhibits less oxygen storage capacity. The estimated catalyst gain determined on-line in real-time by the engine controller may also be used to determine and monitor the catalyst performance with corresponding adaptation of the fuel/air ratio control.

The representative embodiments used to illustrate and describe the invention relate generally to an internal combustion engine control system. While the present invention is described with reference to a spark-ignited, direct injection internal combustion engine having electronic throttle control and conventional cam timing, the invention is independent of the particular engine technology and may be used in a wide variety of applications.

System 10 includes an internal combustion engine having a plurality of cylinders, represented by cylinder 12, having corresponding combustion chambers 14. As one of ordinary skill in the art will appreciate, system 10 includes various sensors and actuators to effect control of the engine. One or more sensors or actuators may be provided for each cylinder 12, or a single sensor or actuator may be provided for the engine. For example, each cylinder 12 may include four actuators that operate intake valves 16 and exhaust valves 18. However, the engine may include only a single engine coolant temperature sensor 20.

System 10 preferably includes a controller 22 having a microprocessor 24 in communication with various computer-readable storage media. The computer readable storage media preferably include a read-only memory (ROM) 26, a random-access memory (RAM) 28, and a keep-alive memory (KAM) 30. The computer-readable storage media may be implemented using any of a number of known temporary and/or persistent memory devices such as PROMs, EPROMs, EEPROMs, flash memory, or any other electric, magnetic, optical or combination memory capable of storing data, code, instructions, calibration information, operating variables, and the like used by microprocessor 24 in controlling the engine. Microprocessor 24 communicates with the various sensors and actuators via an input/output (I/O) interface 32.

In operation, air passes through intake 34 where it may be distributed to the plurality of cylinders via a discrete or integrated intake manifold, indicated generally by reference numeral 36. System 10 preferably includes a mass airflow sensor 38 that provides a corresponding signal (MAF) to controller 22 indicative of the mass airflow. A throttle valve 40 is used to modulate the airflow through intake 34. Throttle valve 40 is preferably electronically controlled by an appropriate actuator 42 based on a corresponding throttle position signal generated by controller 22. The throttle position signal may be generated in response to a corresponding engine output or torque requested by an operator via accelerator pedal 90 and current engine and/or vehicle operating conditions. A throttle position sensor 44 provides a feedback signal (TP) to controller 22 indicative of the actual position of throttle valve 40 to implement closed loop control of throttle valve 40.

A manifold absolute pressure sensor 46 is used to provide a signal (MAP) indicative of the manifold pressure to controller 22. Air passing through intake manifold 36 enters combustion chamber 14 through appropriate control of one or more intake valves 16. For variable cam timing applications, intake valves 16 and exhaust valves 18 may be controlled directly or indirectly by controller 22 using electromagnetic actuators or a variable cam timing (VCT) device, for example. Alternatively, intake valves 16 and exhaust valves 18 may be controlled using a conventional camshaft arrangement (not shown). A fuel injector 48 injects an appropriate quantity of fuel in one or more injection events for the current operating mode based on a signal (FPW) generated by an fuel/air ratio controller implemented by controller 22, which is then processed by driver 50. Fuel signal (FPW) is controlled to provide a desired fuel/air ratio within combustion chamber 14 as described in greater detail below.

As illustrated in FIG. 1, fuel injector 48 injects an appropriate quantity of fuel in one or more injections directly into combustion chamber 14, or into an intake port for port-injected applications. Control of the fuel injection events is generally based on the position of piston 52 within cylinder 12. Position information is acquired by an appropriate sensor 54, which provides a position signal (PIP) indicative of rotational position of crankshaft 56.

At the appropriate time during the combustion cycle, controller 22 generates a spark signal (SA) that is processed by ignition system 58 to control spark plug 60 and initiate combustion within chamber 14. Controller 22 (or a conventional camshaft) controls one or more exhaust valves 18 to exhaust the combusted fuel/air mixture through an exhaust manifold. An exhaust gas oxygen sensor 62, which is preferably capable of providing a signal proportional to the amount of oxygen in the exhaust gas, such as a universal exhaust gas oxygen sensor (UEGO), for example, provides a signal (UEGO) indicative of the oxygen content of the feedgas to controller 22. This signal may be used to adjust the fuel/air ratio, or control the operating mode of one or more cylinders, for example, as described in greater detail below. The exhaust gas is passed through an integrated or discrete exhaust manifold and one or more integrated or discrete catalysts represented by catalyst 64 before being exhausted to atmosphere. Preferably, one or more of the integrated or discrete catalysts are three-way catalysts (TWC) as well known in the art.

As shown in FIG. 1, each catalyst 64 may include one or more catalyst elements or bricks 66, 68, and 70. While each of the catalyst elements 66, 68, and 70 are illustrated as being contained within a single catalytic device 64, one or more of the catalyst elements may be contained in separate housings or devices depending upon the particular application. For example, a close-coupled or fast light-off catalyst may include a housing and a single catalyst element positioned as near to one or more exhaust ports as packaging considerations allow. Additional catalyst elements or bricks may be contained in one or more downstream housings or devices, such as an under-body device. In addition, the various cylinders 12 of engine 10 may be grouped in one or more banks each having two or more associated cylinders that share a particular exhaust stream such that each exhaust stream or bank has associated catalyst(s) and corresponding exhaust gas sensors. Those of ordinary skill in the art will recognize that the present invention may be used in a variety of system configurations relative to positioning of one or more catalyst elements and corresponding exhaust gas sensors.

In one embodiment of the present invention, a secondary exhaust gas sensor 72 is positioned downstream relative to first exhaust gas sensor 62 and at least one catalyst element 66 (or a portion thereof). For example, for applications employing a close-coupled catalyst, sensor 72 may be positioned downstream of the close-coupled catalyst and upstream of an under-body catalyst. Alternatively, sensor 72 may be positioned downstream of the first or second catalyst elements in a multi-element (multiple brick) catalyst as representatively illustrated in FIG. 1. Secondary exhaust gas sensor 72 provides a signal indicative of a relative fuel/air ratio by detecting excess oxygen in the exhaust stream. Sensor 72 is preferably a heated exhaust gas oxygen sensor (HEGO) that provides a corresponding signal HEGO₁ used by controller 22 for feedback control in an attempt to maintain a predetermined sensor voltage, indicative of a desired catalyst performance as described in greater detail below.

In an alternative embodiment, a third exhaust gas sensor 74 is positioned downstream relative to the second exhaust gas sensor 72 and one or more additional catalyst elements 68, 70. Potential positioning of third sensor 74 is indicated generally by arrow and line 76. Third exhaust gas sensor 74 is also preferably a HEGO sensor that provides a corresponding signal HEGO₂ to controller 22 for use in monitoring performance of catalyst 64 and/or controlling engine fuel/air ratio as described in greater detail below.

As also shown in FIG. 1, a catalyst temperature sensor 80 may be provided to provide a signal T_(CAT) corresponding to current catalyst temperature to controller 22 for use in controlling engine 10 and/or monitoring performance of catalyst 64. Alternatively, catalyst temperature may be estimated or inferred from various other engine and/or vehicle operating parameters as known in the art.

As illustrated and described in greater detail below, controller 22 includes an inner feedback control loop to control the engine fuel/air ratio by generating an appropriate fuel command (fpw). A feedback signal (UEGO) for the inner control loop is provided to controller 22 by exhaust gas sensor 62. An outer feedback control loop also implemented by controller 22 is used to generate an fuel/air ratio reference signal provided to the inner feedback control loop with feedback signals provided by exhaust gas sensor 62 and exhaust gas sensor 72. In one embodiment, the outer loop controller (also referred to as an fuel/air ratio reference signal controller) uses feedback signals from exhaust gas sensors 62, 72, and 74 to generate an appropriate fuel/air ratio reference signal. The fuel/air ratio reference signal controller implemented by controller 22 adapts to the oxygen storage capacity of catalyst 64 by modeling the catalyst as an integrator with an unknown gain and estimating the catalyst gain based on the feedback signals HEGO₁ and UEGO provided by sensors 72 and 62, respectively. An adaptive controller gain factor is then determined based on the estimated catalyst gain and is then used by the outer loop controller to determine the fuel/air ratio reference signal provided to the inner loop controller.

FIG. 2 is a block diagram illustrating the inner and outer feedback control loops for a representative engine control strategy implemented by an engine controller, such as controller 22 (FIG. 1) according to one embodiment of the present invention. Controller 200 includes an inner feedback control loop 202 and an outer feedback control loop indicated generally by reference numeral 204. Inner loop 202 includes an fuel/air ratio controller 206 that is a proportional-integral-derivative (PID) controller that generates an appropriate fuel command provided to the injectors of engine 208. UEGO sensor 210 provides a feedback signal proportional to the oxygen content of the feedgas or engine exhaust between the engine and the three-way catalyst (TWC) 226. The feedback signal is combined with an fuel/air ratio reference signal (N_(REF)) 212 generated by outer feedback control loop 204 at block 214. The error or difference signal provided by block 214 is then used by controller 206 to adjust the fuel command so that the actual fuel/air ratio within engine 208 approaches the desired fuel/air ratio.

Inner feedback control loop 202 was designed using a traditional control system design approach. After specifying the transfer function of a representative engine based on the operating conditions and frequency range of interest, the A/F controller characteristics were specified. Loop shaping was used to modify the magnitude and phase of the frequency response to provide a desired performance. The inventors herein recognized that the bandwidth of the engine increases with both speed and load such that engine idle conditions are generally the worst-case dynamics from a robustness standpoint. Therefore, the dynamics from the fuel pulse width (fpw) command provided to engine 208 to UEGO sensor 210 under engine idle operating conditions provide the worst-case stability margins throughout the engine operating range. The specifications for A/F controller 206 can therefore be determined from the transfer function estimate at idle while providing stability throughout the engine operating range.

Outer feedback control loop 204 includes an fuel/air ratio reference controller, indicated generally by reference numeral 218, that generates an fuel/air ratio reference signal 212 supplied to inner feedback control loop 202. Fuel/air ratio reference controller 218 includes a catalyst controller 220, preferably a PID controller, and an adaptive catalyst model 222. Catalyst controller 220 monitors and controls conversion efficiency of three-way catalyst 226 by modulating the fuel/air ratio reference signal 212 based on a feedback signal provided by HEGO sensor 228 and adaptive catalyst model 222. The feedback signal generated by HEGO sensor 228 is compared to a voltage reference a reference voltage (V_(REF)) 230 to generate a difference or error signal at block 224. Controller 220 attempts to reduce the error or difference signal toward zero to maintain the voltage of HEGO sensor 228 close to its desired value as specified by reference voltage 230.

Adaptive catalyst model 222 determines online how the dynamics of the three-way catalyst 226 are changing. The model assumes that the dynamics from the feedgas as detected by UEGO sensor 210 to the position of HEGO sensor 228 positioned downstream relative to at least a portion of the catalyst can be modeled by an integrator with an unknown gain recognizing that the output signal of HEGO sensor 228 will be attenuated by the oxygen storage of catalyst 226, i.e.: Hego(t)=∫b*Uego(t)dt where Hego(t) represents the (output) signal generated by HEGO sensor 228, b represents the unknown catalyst gain, and UEGO(t) represents the (input) signal generated by UEGO sensor 210. As such, the catalyst gain, b, can be determined or estimated based on the input (UEGO) and output (HEGO) signals using any of a variety of known estimation techniques, such as recursive least squares, for example. In one embodiment, the catalyst gain is estimated by a gradient method using pre-filters to avoid differentiation of the measured sensor signals.

The catalyst gain inversely correlates with the current oxygen storage capacity of the catalyst. As such, a high value for the catalyst gain indicates low oxygen storage capacity of the portion of the catalyst 226 upstream of HEGO sensor 228. Estimating the catalyst gain online provides an indication of how the dynamics of the catalyst are changing and allows adaptation of the generated fuel/air ratio reference signal provided to the inner loop 202 in response to the changing catalyst dynamics. In general, more control effort can be used to control the state of catalyst 226 when catalyst 226 exhibits a large degree of oxygen storage, i.e. larger changes in the fuel/air ratio reference are used. When the degree of oxygen storage is lessened, such as under higher engine loads or after the catalyst has aged significantly, the control effort is decreased.

FIG. 3 is a block diagram illustrating a modified self-oscillating adaptive system (SOAS) implementation of an fuel/air ratio reference signal controller according to one embodiment of the present invention. The modified SOAS 218 includes a catalyst model and gain scheduler 300 that receives inputs from UEGO sensor 210 and at least one HEGO sensor 228. Block 300 determines a catalyst gain using an appropriate catalyst model and then determines or schedules an adaptive gain based on the catalyst gain. In one embodiment, the adaptive gain is determined using a look-up table indexed or accessed by the estimated catalyst gain (see FIG. 4). The adaptive gain is multiplied by the output of a relay block 302 at block 306 with the result combined at block 308 with a feed-forward term that passes through a saturating integrator 304 with a small proportional gain so the integrator does not contribute to any limit cycle behavior. Relay block 302 generates a predetermined offset (+/−delta phi ( )N)) in fuel/air ratio reference depending on the sign of the error between the signal from HEGO 228 and reference voltage 230 as determined by block 224. In one embodiment, reference voltage 230 is 0.6 volts but may vary depending upon the particular type of exhaust gas sensor and the particular application. Relay block 302 may include appropriate hysteresis depending upon the particular application and implementation. Saturating integrator 304 is used to compensate for any constant offsets or errors in measurements of the feedgas fuel/air ratio, such as those that may occur due to sensor bias or drift.

The fuel/air ratio offset generated by relay block 302 is modified by the adaptive gain at block 306 before being combined with the feed-forward term and a target fuel/air ratio (preferably a fuel/air ratio relative to a stoichiometric ratio, unity in this example) at block 308 to generate the fuel/air ratio reference signal (N_(REF)) provided to the inner loop air/fuel ratio controller (206, FIG. 2). In general, this feedback control strategy modulates the fuel/air ratio between limits determined by relay block 302 as adjusted by the adaptive gain at block 306. The primary mechanism for downstream exhaust gas sensor feedback is the relay that switches to a predetermined offset in fuel/air ratio reference depending on the sign of the error or difference between the exhaust gas sensor reference, typically in the range of 0.6 to 0.7 volts, and the measured value.

FIG. 4 is a graph of an adaptive gain factor as a function of an estimated catalyst gain that may be implemented as a look-up table for use in controlling an internal combustion engine according to one embodiment of the present invention. A function representing an estimated catalyst gain (b) and a corresponding adaptive gain factor (k) is plotted. This function is used to populate a look-up table with values as represented by line 402 that are stored in persistent memory for access by the engine controller in controlling the engine. As describe above, an estimated catalyst gain (b) is determined based on a catalyst model and inputs from the exhaust gas sensors. The estimated catalyst gain (b) is then used to access or index a look-up table to determine a corresponding adaptive gain factor (k) that is multiplied by the output of the relay block in the outer loop (fuel/air ratio reference) controller. As can be seen from the representative relationship between the catalyst gain (b) and adaptive gain factor (k) illustrated by line 402 of FIG. 4, the adaptive gain factor preferably does not exceed unity and generally decreases with increasing catalyst gain to reduce the control effort via reducing the effect of the relay block (fuel/air ratio offset) when the catalyst is responding easily and quickly to changes in fuel/air ratio, i.e. when the catalyst is exhibiting reduced oxygen storage. Likewise, when the catalyst is exhibiting increased oxygen storage (corresponding to reduced catalyst gain), the adaptive gain factor is closer to or equal to unity.

Arrows 410, 412, and 414 of FIG. 4 indicate representative values for catalyst gain and corresponding adaptive gain for operating conditions that may result in varying catalyst oxygen storage. Region 410 may correspond to hot idling conditions with a green catalyst with region 412 corresponding to operation under higher engine speeds and/or loads. Region 414 would generally indicate a significantly aged catalyst.

FIG. 5 is a block diagram illustrating an alternative embodiment for an engine controller having an additional downstream exhaust gas oxygen sensor used for engine control and/or diagnostics according to one embodiment of the present invention. Control strategy 500 includes an inner feedback control loop 502 that includes a PID air/fuel controller 504 that generates a fueling command for engine 506 to control the air/fuel ratio with feedback provided by a first exhaust gas sensor 508 that provides an indication of the actual air/fuel ratio. In one embodiment, first exhaust gas sensor 508 provides a signal proportional to the oxygen content of the feedgas, i.e. the exhaust downstream of engine 506 and upstream of any catalyst 510. First exhaust gas sensor may be implemented by a UEGO sensor, for example. The signal generated by first exhaust sensor 508 is compared at block 512 to a reference air/fuel ratio generated by an air/fuel ratio reference controller 520 contained within an outer control loop indicated generally by reference numeral 522. Air/fuel ratio controller 504 adjusts the fuel command to reduce the error or difference as provided by block 512.

Air/fuel ratio reference controller 520, which is preferably a PID controller, receives feedback from a second exhaust gas sensor 530 positioned downstream relative to first exhaust gas sensor 508 and at least a portion of catalyst 510. As described above, catalyst 510 may include multiple catalyst elements or bricks within a single housing. Alternatively, or in combination, one or more discrete catalyst devices may be employed, such as a close-coupled or fast light-off catalyst and an underbody catalyst, for example. Second exhaust gas sensor 530, implemented by a primary HEGO sensor in this representative embodiment, is positioned after the fast light-off catalyst or after the first brick or element of a multi-element catalyst and provides a corresponding signal indicative of a relative air/fuel ratio to air/fuel ratio reference controller 520. At least one additional exhaust gas sensor 532, referred to as a monitoring HEGO sensor in this embodiment, is positioned downstream relative to primary HEGO sensor 530 and an additional portion, element, or brick of catalyst 510. Monitoring HEGO sensor 532 provides a corresponding feedback signal indicative of a relative air/fuel ratio to air/fuel ratio reference controller 520.

Air/fuel ratio reference controller 520 may be used to monitor and control the conversion efficiency of catalyst 510 in combination with air/fuel ratio controller 504 by generating an appropriate air/fuel ratio reference, and monitoring the performance of catalyst 510 based on the change of an estimated catalyst gain. Air/fuel ratio reference controller 520 determines an estimated catalyst gain based on a corresponding catalyst model and inputs from UEGO sensor 508, primary HEGO sensor 530, and/or monitoring HEGO sensor 532. In one embodiment, air/fuel ratio reference controller 520 operates to control the difference between the voltages of the primary HEGO sensor 530 and the monitoring HEGO sensor 532 based on a corresponding reference voltage to compensate for the changing conditions of the catalyst, such as aging, lack of oxygen storage, and others. Alternatively, or in combination, controller 520 may adjust, adapt, or modify one or more parameters to reduce the influence or effect of the feedback signal provided by primary HEGO sensor 530 while increasing the influence or effect of the signal provided by monitoring HEGO sensor 532 as the catalyst ages. For example, a control equation may be represented by: y=A*UEGO+B*HEGO₁ +C*(HEGO₁−HEGO₂)

or alternatively: y=A*UEGO+B*HEGO₁ +C*HEGO₂ where A represents an adjustable gain or scaling factor for the signal provided by the UEGO sensor, B represents an adjustable gain or scaling factor for the signal provided by the primary HEGO sensor (HEGO₁) and, C represents an adjustable gain or scaling factor for the difference between the signals of the primary HEGO sensor (HEGO₁) and the monitoring HEGO sensor (HEGO₂). The gains or scaling factors may then be adjusted based on the performance of the catalyst to provide the desired control as the catalyst dynamics change.

FIG. 6 is a graph of catalyst oxygen storage capacity as a function of catalyst temperature for use in monitoring catalyst performance according to one embodiment of the present invention. Four sets of data represented by data points 600, 602, 604, and 608 were obtained under various engine/vehicle operating conditions with a properly functioning catalyst. The oxygen storage capacity of the catalyst was determined based on various operating parameters, such as mass airflow, catalyst space velocity, engine speed, engine load, and catalyst temperature, for example, and plotted as a function of the catalyst temperature. As the data sets of FIG. 6 illustrate, the oxygen storage capacity of the catalyst generally increases with increasing catalyst temperature. This type of information can then be used to determine acceptable operating limits or thresholds to monitor operation of the catalyst(s) on-line. Oxygen storage data obtained at various temperatures and engine operating conditions provides results that are robust against noise factors.

FIG. 7 is a graph of catalyst gain as a function of catalyst temperature for use in monitoring catalyst performance according to one embodiment of the present invention. Rather than calculating the oxygen storage capacity based on various engine operating parameters as described with reference to FIG. 6 to determine the health of the catalyst on-line, the catalyst gain, which correlates to the inverse oxygen capacity of the catalyst, may be determined or estimated based on the input and output air fuel ratios measured by corresponding exhaust gas sensors as described in detail above. For example, in the embodiment illustrated in FIG. 5, an estimated catalyst gain may be determined using UEGO sensor 508 and primary HEGO sensor 530, using UEGO sensor 508 and monitoring HEGO sensor 532, and/or using UEGO sensor 508 and a combined signal from primary HEGO sensor 530 and monitoring HEGO sensor 532.

Curve 700 of FIG. 7 represents catalyst gain as a function of temperature for a properly functioning catalyst. Line 702 represents a lower catalyst operating temperature for monitoring or evaluating catalyst performance while line 704 represents an upper catalyst operating temperature for evaluating catalyst performance. As the catalyst dynamics change due to aging or other factors and the catalyst exhibits less oxygen storage capacity, the catalyst gain will increase as represented by curve 710. One or more thresholds or limits as represented by curve 712 may be used to evaluate the current performance of the catalyst. When a particular catalyst gain threshold or limit is exceeded, appropriate action may be taken, such as modifying the engine control and/or providing diagnostic information to the operator and/or service personnel, for example.

FIG. 8 is a flow chart illustrating operation of a system or method for controlling an internal combustion engine according to one embodiment of the present invention. As with the block diagrams of FIGS. 1-3, and 5, the flow chart illustrates operation of representative embodiments of a system and method for controlling and monitoring an internal combustion engine according to the present invention. As will be appreciated by one of ordinary skill in the art, the diagrams and flow charts represent any of a number of known processing strategies such as event-driven, interrupt-driven, multi-tasking, multi-threading, and the like. As such, various steps or functions illustrated may be performed in the sequence illustrated, in parallel, or in some cases omitted. Although not explicitly illustrated, one of ordinary skill in the art will recognize that one or more of the illustrated steps or functions may be repeatedly performed. Similarly, the order of processing is not necessarily required to achieve the objects, features, and advantages of the invention, but is provided for ease of illustration and description. Preferably, the control logic illustrated is implemented in software executed by a microprocessor-based vehicle, engine, and/or powertrain controller, such as controller 22 (FIG. 1). Of course, the control logic may be implemented in software, hardware, or a combination of software and hardware depending upon the particular application. When implemented in software, the control logic is preferably provided in one or more computer-readable storage media having stored data representing code or instructions executed by a computer to monitor and control the engine. The computer-readable storage media may be any of a number of known physical devices which utilize electric, magnetic, optical and/or combination storage to keep executable instructions and associated calibration information, operating variables, and the like.

As represented by block 800, a catalyst gain is determined based on the upstream and downstream exhaust gas oxygen (EGO) sensors. The upstream EGO is preferably a UEGO with one or more HEGO sensors positioned downstream as described in greater detail above. The catalyst gain may be determined by modeling the catalyst as an integrator with an unknown gain as represented by block 802 and estimating the gain using a polynomial approximation as represented by block 804. In one embodiment, a recursive least squares approximation using fixed coefficients is used to determine an estimate of the catalyst gain for the current operating conditions.

The catalyst condition or performance is determined based on the catalyst gain as represented by block 806. This step may include determining a current value for an operating parameter indicative of current operating conditions as represented by block 808. For example, a catalyst temperature may be measured as represented by block 810 using a corresponding temperature sensor, or through estimation or inference based on various other operating parameters. Various other operating parameters may be determined, such as mass air flow as represented by block 812, to better correlate the catalyst gain determined by block 800 with the catalyst health or condition according to the present invention.

The catalyst gain is compared to one or more thresholds or expected values corresponding to the current operating conditions as represented by block 814 and described in greater detail above. Various thresholds may be stored in persistent memory in one or more single, or multi-dimensional look-up tables, for example. In one embodiment, the catalyst gain is compared to upper and lower thresholds corresponding to the expected value for the current catalyst temperature to determine the condition or health of the catalyst.

The engine is controlled based on the catalyst performance or condition as represented generally by block 816 to adapt to the changing catalyst dynamics. This may include modifying the air/fuel ratio as indicated by block 818 and/or generating a diagnostic signal for the operator and/or service personnel as represented by block 820.

As such, the present invention provides a robust engine controller that adapts to changing catalyst dynamics on-line for systems with multiple catalysts or multiple catalyst bricks. The invention allows use of a relatively simple catalyst model that captures the catalyst behavior to provide on-line calculation of the catalyst gain for real-time updates in the engine controller. The robust control and management of catalyst conversion efficiency afforded by the present invention may allow reduction of the catalyst volume with corresponding savings in cost and weight.

While the best mode for carrying out the invention has been described in detail, those familiar with the art to which this invention relates will recognize various alternative designs and embodiments for practicing the invention as defined by the following claims. 

1. A method for controlling an internal combustion engine having an upstream exhaust gas sensor positioned upstream relative to a catalyst and at least one downstream exhaust gas sensor positioned downstream relative to at least a portion of the catalyst, the method comprising: modeling the catalyst as an integrator with an unknown gain; determining a catalyst gain based on the upstream and downstream exhaust gas sensors; and determining performance of the catalyst based on the catalyst gain.
 2. The method of claim 1 wherein the step of determining the catalyst gain comprises: estimating the catalyst gain using a polynomial approximation.
 3. The method of claim 1 wherein the step of determining performance of the catalyst comprises: determining a current value for at least one operating parameter indicative of current operating conditions; comparing the catalyst gain to a threshold associated with the operating parameter to determine performance of the catalyst.
 4. The method of claim 3 wherein the at least one operating parameter comprises catalyst temperature.
 5. The method of claim 4 wherein the catalyst operating temperature is estimated.
 6. The method of claim 3 wherein the at least one operating parameter comprises catalyst temperature and mass air flow.
 7. The method of claim 1 further comprising controlling the engine based on the performance of the catalyst.
 8. A system for controlling an internal combustion engine, the system comprising: an upstream exhaust gas sensor for providing an indication of an air/fuel ratio upstream of a catalyst; a downstream exhaust gas sensor for providing an indication of an air/fuel ratio downstream of at least a portion of the catalyst; and a controller in communication with the upstream and the downstream exhaust gas sensors, the controller determining a catalyst gain based on the upstream and downstream exhaust gas sensors and comparing the gain to an expected value to determine condition of the catalyst.
 9. The system of claim 8 wherein the upstream exhaust gas sensor is a universal exhaust gas oxygen sensor and wherein the downstream exhaust gas sensor is a heated exhaust gas oxygen sensor.
 10. The system of claim 8 further comprising: a catalyst monitoring exhaust gas sensor positioned downstream relative to the downstream exhaust gas sensor and in communication with the controller, wherein the controller determines a catalyst gain based on the upstream sensor and the catalyst monitoring sensor.
 11. The system of claim 8 wherein the controller further determines current operating conditions and determines the condition of the catalyst by comparing the catalyst gain to an expected value for the current operating conditions.
 12. The system of claim 11 wherein determining current operating conditions includes determining catalyst temperature.
 13. The system of claim 11 wherein determining current operating conditions includes determining mass air flow.
 14. The system of claim 8 wherein the controller determines catalyst gain by modeling the catalyst as an integrator and estimating catalyst gain using a polynomial approximation.
 15. A computer readable storage medium having stored data representing instructions executable by a computer to control an internal combustion engine having a first exhaust gas oxygen sensor positioned upstream relative to a catalyst and a second exhaust gas oxygen sensor positioned downstream relative to the catalyst, the computer readable storage medium comprising: instructions for determining a catalyst gain based on the first and second exhaust gas oxygen sensors; and instructions for determining condition of the catalyst based on the catalyst gain.
 16. The computer readable storage medium of claim 15 further comprising: instructions for determining a current value of an operating parameter; and instructions for comparing the catalyst gain to a threshold associated with the current value of the operating parameter to determine the condition of the catalyst.
 17. The computer readable storage medium of claim 16 wherein the instructions for determining the current value of an operating parameter determine catalyst temperature.
 18. The computer readable storage medium of claim 16 wherein the instructions for determining the current value of an operating parameter determine mass air flow.
 19. The computer readable storage medium of claim 16 further comprising: instructions for modifying air/fuel ratio control of the engine based on the condition of the catalyst.
 20. The computer readable storage medium of claim 16 wherein the instructions for determining the catalyst gain include instructions for estimating the catalyst gain using a polynomial approximation. 